<?php
/**
 * Searchform.php 
 *
 */

$myVal = "";
if(is_search()) {
	global $s;
	$myVal = $s;
}

?>

<form class="search card" method="get" action="<?php bloginfo('url'); ?>">
	<input type="text" name="s" id="s" value="<?php echo $myVal; ?>"/>
	<span class="button-wrap"><input type="submit" name="s-btn" id="s-btn" value="Search"/></span>
</form>